Crash dumps are useful for diagnosing, analyzing, and debugging CygNet application crashes by keeping records of crashes to be used for analysis, and saving the results to a .DMP log file. CygNet Software does not have an internal process to generate crash dumps, although there are some methods for generating memory dumps provided by Microsoft.
You can use Windows Task manager to generate a memory dump file for any process while running.
To generate a crash dump file for a running CygNet process
The following image shows a sample Task Manager dialog box with the Create dump file option:
Note: Task Manager always saves the dump file to the Temp directory, so it is recommended that once the file is generated, it should be moved so that it is not deleted if a Group Policy deletes the Temp directory for any reason.
A powerful memory dump generator outside of CygNet is ProcDump, a command-line utility that is part of the Windows Sysinternals suite. This tool can be used to generate N number of memory dumps in a row or generate a memory dump when a Performance Monitor (Perfmon) counter reaches a specific threshold. Using ProcDump, you can generate a memory dump in the event of some failures, rather than the more general exception logs.
Refer to the Microsoft topic ProcDump for information about using the ProcDump utility.
While CygNet does not automatically forward crash dump files to Microsoft, you can set up your own internal Windows Error Reporting (WER) server to receive crash reports, which can be shared with CygNet Support or Microsoft at a later point, if desired.
To configure a Windows Error Reporting Server
For information about transaction logs and crash recovery for the ESE data storage technology (for CygNet’s DBS-based services), see Transaction Logs and Crash Recovery.
The Microsoft topic Collecting User-Mode Dumps contains information about configuring the LocalDumps registry setting so that user-mode dumps can be collected and stored locally after a user-mode application, such as CygNet, crashes.
CygNet recommends setting DumpType to 2 to generate a full dump, which is more helpful for extracting useful information.